package com.yuanrui.subject.infra.basic.es;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * es集群配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "es.cluster")
public class EsConfigProperties {

    /**
     * 集群配置
     */
    private List<EsClusterConfig> esClusterConfigs=new ArrayList<>();

}
